package com.uduemc.biso.core.utils;

import java.util.Date;

public class BisoToken {

	public static String buildLoginNode(Long userId, Long hostId) {
		String message = String.valueOf(userId) + String.valueOf(hostId) + String.valueOf(new Date().getTime());

		try {
			return MD5Util.md5Encode(message);
		} catch (Exception e) {
			e.printStackTrace();
			return message;
		}
	}

}
